package org.wyn.action;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.ParentPackage;
import org.apache.struts2.convention.annotation.Result;
import org.wyn.common.ResultType;
/**
 * 所有页面起始action
 * @author wyn
 *
 */
@Namespace("/index")
@ParentPackage("security")
public class IndexAction extends WynActionSupport {
	
	@Action(value="index",results = {@Result(name = SUCCESS, type = ResultType.FREEMARKER, location = "index.ftl")})
	public String index(){
		return SUCCESS;
	}
	private static final long serialVersionUID = 1L;

}
